package com.tianma.springcloud.dao;

import com.tianma.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lgc
 * @createDate 2020/9/1 - 15:13
 */
@Mapper
@Repository
public interface DeptDao {
       boolean addDept(Dept dept);
       Dept queryById(Long id);
       List<Dept> queryAll();
}
